home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…rary 7 (Internal Edition) / Apple R&P Lib Internal v7.0.iso / 5-Fonts & Software / Demo Software / Aldus PageMaker 4.0 Demo / Aldus / APDs / LaserWriter II NT.apd < prev    next >
Text File  |  1990-05-16  |  9KB  |  228 lines

  1. @Comment: "LaserWriter II NT.apd" for Apple LaserWriter II NT printer.
  2. @Comment: Aldus Printer Description (APD) file 
  3. @Comment:     $Revision:   1.2  $
  4. @Comment:     $Date:   23 May 1988 12:03:58  $
  5. @Comment: This APD produced for use with Aldus PageMaker 4.0 or earlier version.
  6. @Comment: Keyword values are currently limited to 255 characters in length.
  7.  
  8. @FormatVersion: "1.0"
  9. @Product: "(LaserWriter II NT)"
  10. @PSVersion: "(47.0)"
  11. @PSRevision: "1"
  12.  
  13. @Resolution: "300 300"
  14.  
  15. @AllowComments: "true"
  16. @AllowVMQuery: "true"
  17.  
  18. @Comment:  "FreeVM" value is equivalent to vmstatus "maximum" minus "used" values
  19. @Comment: Limit VM when printing to file, to not exceed save-level limit for downloaded fonts:
  20. @FreeVM: "350000"
  21. @Comment: Actual value is @FreeVM: "443000"
  22. @WorkingMem: "25000"
  23. @AldusHeaderMem: "34000"
  24. @Comment: Example of declaration of a downloadable font's memory requirement:
  25. @Comment: @FontMem "Benjo-Light": "82600"
  26.  
  27. @Comment: PatchFile is sent right after %%EndComments, AldusPatchFile right before %%EndSetup.
  28. @PatchFile: "userdict /AldusDict known {(A previous version PageMaker header is loaded.) = flush} if"
  29. @AldusPatchFile: ""
  30. @ExitServer: "serverdict begin exitserver "
  31. @Password: "0"
  32.  
  33. @DefaultScreenFreq: "60"
  34. @DefaultScreenAngle: "45"
  35. @DefaultScreenProc: "{dup mul exch dup mul add sqrt 1 exch sub}"
  36.  
  37. @ScreenFreq: ""
  38. @ScreenAngle: ""
  39. @ScreenProc: ""
  40.  
  41. @InvertScreenProc: "{dup mul exch dup mul add 1 sub}"
  42. @Transfer: ""
  43. @InvertTransfer: "{1 exch sub}"
  44.  
  45. @NormalizedTransfer: "{
  46. mark
  47. 1.0 1.0 .98 .86 .76 .64 .54 .45 .36 .24 .11 .0
  48. counttomark dup 3 add -1 roll exch
  49. 2 sub mul dup floor cvi
  50. dup 3 1 roll sub
  51. exch dup 
  52. 3 add index exch 2 add index dup
  53. 4 1 roll
  54. sub mul add
  55. counttomark 1 add 1 roll 
  56. cleartomark
  57. } bind"
  58. @End
  59.  
  60. @InvertNormalizedTransfer: "{
  61. mark
  62. .0 .0 .11 .24 .36 .45 .54 .64 .76 .86 .98 1.0
  63. counttomark dup 3 add -1 roll exch
  64. 2 sub mul dup floor cvi
  65. dup 3 1 roll sub
  66. exch dup 
  67. 3 add index exch 2 add index dup
  68. 4 1 roll
  69. sub mul add
  70. counttomark 1 add 1 roll 
  71. cleartomark
  72. } bind"
  73. @End
  74.  
  75. @?FontList: "save FontDirectory { pop = flush } forall (*) = flush restore"
  76. @?FontQuery: "FontDirectory exch known {1}{0} ifelse = flush"
  77. @Comment: If 11 or more saves, VM query makes memory look full, PM will flush fonts.
  78. @?VMStatus: "vmstatus 3 -1 roll dup 10 gt
  79. {3 1 roll exch pop dup} {3 1 roll} ifelse == == == flush"
  80. @End
  81. @?OutputOrder: "pagestackorder {(facedown)}{(faceup)} ifelse = flush"
  82. @Comment: Paper tray query compares returned value with selected PageSize,
  83. @Comment:    up to length of returned value only: i.e, "A4" matches "A4small"
  84. @?PaperTray: "mark () statusdict /printerstatus known {
  85. userdict /T statusdict /printerstatus get exec 16#07E and put 
  86.  T 2 eq {(A4)} if T 8 eq {(Letter)} if T 24 eq {(Legal)} if} if 
  87.  = flush cleartomark"
  88. @End
  89.  
  90. @Comment: PageSize options appear in the "Paper" list box in the Printer-specific dialog.
  91. @DefaultPageSize:        "Letter"
  92. @PageSize Letter:        "letter"
  93. @PageSize Lettersmall:    "lettersmall"
  94. @PageSize A4:            "a4"
  95. @PageSize A4small:        "a4small"
  96. @PageSize B5:            "b5"
  97. @PageSize Legal:        "legal"
  98.  
  99. @Comment: Use the "@?PaperTray" query instead of "_tray" commands to verify correct tray.
  100.  
  101. @Comment: PageRegion gives the printable area of each paper option.
  102. @PageRegion Letter:         "18 7.92 594 784.08"
  103. @PageRegion Lettersmall:     "29.52 30.24 582.48 761.76"
  104. @PageRegion A4:             "17.28 21.96 578.16 819.72"
  105. @PageRegion A4small:         "28.80 30.24 566.64 811.44"
  106. @PageRegion B5:             "17.28 2.88 481.68 705.60"
  107. @PageRegion Legal:             "18 7.92 594 1000.08"
  108.  
  109. @Comment: PaperDimension gives the total paper size of each option.
  110. @PaperDimension Letter:         "612 792"
  111. @PaperDimension Lettersmall:     "612 792"
  112. @PaperDimension A4:             "595.28 841.89"
  113. @PaperDimension A4small:         "595.28 841.89"
  114. @PaperDimension B5:             "498.90 708.66"
  115. @PaperDimension Legal:             "612 1008"
  116.  
  117. @DefaultOutputOrder: "facedown"
  118.  
  119. @ManualFeed true: "statusdict begin /manualfeed true def end"
  120. @ManualFeed false: "statusdict begin /manualfeed false def end"
  121.  
  122. @DefaultFont: "Courier"
  123. @Font "Times-Roman": "Standard" "(001.000)"
  124. @Font "Times-Bold": "Standard" "(001.000)"
  125. @Font "Times-Italic": "Standard" "(001.000)"
  126. @Font "Times-BoldItalic": "Standard" "(001.000)"
  127. @Font "Helvetica": "Standard" "(001.000)"
  128. @Font "Helvetica-Bold": "Standard" "(001.000)"
  129. @Font "Helvetica-Oblique": "Standard" "(001.000)"
  130. @Font "Helvetica-BoldOblique": "Standard" "(001.000)"
  131. @Font "Courier": "Standard" "(001.000)"
  132. @Font "Courier-Bold": "Standard" "(001.000)"
  133. @Font "Courier-Oblique": "Standard" "(001.000)"
  134. @Font "Courier-BoldOblique": "Standard" "(001.000)"
  135. @Font "Symbol": "Standard" "(001.000)"
  136. @Font "Palatino-Roman": "Standard" "(001.000)"
  137. @Font "Palatino-Italic": "Standard" "(001.000)"
  138. @Font "Palatino-Bold": "Standard" "(001.000)"
  139. @Font "Palatino-BoldItalic": "Standard" "(001.000)"
  140. @Font "AvantGarde-Book": "Standard" "(001.000)"
  141. @Font "AvantGarde-BookOblique": "Standard" "(001.000)"
  142. @Font "AvantGarde-Demi": "Standard" "(001.000)"
  143. @Font "AvantGarde-DemiOblique": "Standard" "(001.000)"
  144. @Font "Bookman-Light": "Standard" "(001.000)"
  145. @Font "Bookman-LightItalic": "Standard" "(001.000)"
  146. @Font "Bookman-Demi": "Standard" "(001.000)"
  147. @Font "Bookman-DemiItalic": "Standard" "(001.000)"
  148. @Font "Helvetica-Narrow": "Standard" "(001.000)"
  149. @Font "Helvetica-Narrow-Oblique": "Standard" "(001.000)"
  150. @Font "Helvetica-Narrow-Bold": "Standard" "(001.000)"
  151. @Font "Helvetica-Narrow-BoldOblique": "Standard" "(001.000)"
  152. @Font "NewCenturySchlbk-Roman": "Standard" "(001.000)"
  153. @Font "NewCenturySchlbk-Italic": "Standard" "(001.000)"
  154. @Font "NewCenturySchlbk-Bold": "Standard" "(001.000)"
  155. @Font "NewCenturySchlbk-BoldItalic": "Standard" "(001.000)"
  156. @Font "ZapfChancery-MediumItalic": "Standard" "(001.000)"
  157. @Font "ZapfDingbats": "Standard" "(001.000)"
  158.  
  159.  
  160. @Comment: The order of occurrence determines the order of parsing; put general messages last.
  161. @Comment: PrinterWarning beeps and displays the translation string in the status line.
  162.  
  163. @PrinterWarning    "%%[ PrinterError: paper \where\ misfeed\lost\ ]%%"
  164.                 : "Printer “^2” needs attention: paper jam."
  165. @PrinterWarning    "%%[ PrinterError: \Reason\ ]%%"
  166.                 : "Printer “^2” needs attention: \Reason\."
  167.  
  168. @PrinterWarning    "\s\status: PrinterError: paper \where\ misfeed\lost\"
  169.                 : "Printer “^2” needs attention: paper jam."
  170. @PrinterWarning    "\s\status: PrinterError: \Reason\; source: \source\"
  171.                 : "Printer “^2” needs attention: \Reason\."
  172.  
  173. @ParameterReason    "no paper tray" :         "no paper tray"
  174. @ParameterReason    "out of paper" :         "out of paper"
  175. @ParameterReason    "cover open" :             "cover open"
  176. @ParameterReason    "warming up" :             "warming up"
  177. @ParameterReason    "service call" :         "service call"
  178. @ParameterReason    "resetting printer" :     "resetting printer"
  179. @ParameterReason    "cover open" :             "cover open"
  180. @ParameterReason    "timeout, clearing printer" : "timeout"
  181. @ParameterReason    "timeout" :             "timeout"
  182. @ParameterReason    "manual feed timeout" :    "manual feed timeout"
  183. @ParameterReason    "no toner cartridge" :     "no toner cartridge"
  184.  
  185.  
  186. @Comment: PrinterMessage displays the translation string in the status line.
  187. @PrinterMessage     "job: \username\; document: \jobname\; status: \Status\; source: \source\"
  188.                 : "User: \username\;  document: \jobname\;  status: \Status\."
  189. @PrinterMessage     "job: \jobname\; status: \Status\; source: \source\"
  190.                 : "Document: \jobname\;  status: \Status\."
  191. @PrinterMessage     "status: \Status\; source: \source\"
  192.                 : "Status: \Status\."
  193. @PrinterMessage     "\Font1\ not found, using \Font2\"
  194.                 : "Font \Font1\ is not found on ^2, substituting \Font2\"
  195.  
  196. @ParameterStatus     "idle"    : "idle"
  197. @ParameterStatus     "busy"    : "processing job"
  198. @ParameterStatus     "waiting"    : "preparing data"
  199. @ParameterStatus    "printing"    : "printing"
  200.  
  201. @Comment: a null translation string causes no message to display.
  202. @PrinterMessage    "%%[ exitserver: permanent state may be changed ]%%"
  203.                 : ""
  204. @PrinterMessage    "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  205.                 : ""
  206.  
  207. @Comment: Parameter substitution of printer name for "^2" is not allowed in "...Alert" messages!
  208. @Comment: PrinterWarningAlert displays translation string in a warning-alert box and continues.
  209. @PrinterWarningAlert "A previous version PageMaker header is loaded."
  210.     : "Printer performance may improve if you do not print with PageMaker version 1.2 on this net."
  211.  
  212. @Comment: PrinterErrorAlert displays translation string in a stop-alert box and aborts printing.
  213. @PrinterErrorAlert    "%%[ Error: \fonterror\; OffendingCommand: fontdownload ]%%"
  214.                 : "The font being downloaded has not been initialized for this printer."
  215. @PrinterErrorAlert    "%%[ Error: VMerror; OffendingCommand: \operator\ ]%%"
  216.                 : "Printer memory exceeded; turn printer off and on, or print smaller sections of the document."
  217. @PrinterErrorAlert    "%%[ Error: timeout; OffendingCommand: \operator\ ]%%"
  218.                 : "The printer had to wait too long, and went on to the next job; try again."
  219. @PrinterErrorAlert    "%%[ Error: \error\; OffendingCommand: \operator\ ]%%"
  220.                 : "Cannot print due to PostScript error: “\error\,” in command: “\operator\.”"
  221. @PrinterErrorAlert    "Fatal system error \error\"
  222.                 : "The printer has encountered an error. Simplify your document or try again."
  223.  
  224.  
  225.  
  226.  
  227.  
  228.